//
//  KDDCollection.h
//  MengLiao
//
//  Created by xiuxin on 2022/7/15.
//  Copyright © 2022 ZHBen. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "KDataDrivenProtocol.h"

@interface KDDCollection : NSObject <KDataDriven>

@property (nonatomic) BOOL enableIndexTitles;

- (instancetype)initWithStorage:(id<KDataDrivenStorage>)storage;

- (void)useSharedConfigure;

@end

@interface UICollectionView (KDataDriven)

- (id<KDataDriven>)kDataDriven;
- (id<KDataDrivenConfigure>)kConfigure;
- (id<KDataDrivenStorage>)kStorage;

@end
